/** @Date 下午5:08:45
  * @version 1.0.0
  * @author shangyd
  * Copyright (c) 2015
  */
package com.sdw.soft.activemq;

import java.util.HashMap;
import java.util.Map;

import com.sdw.soft.activemq.vo.Notify;

public class JMSMessageOperator {

	private static JMSMessageSender jmsSender;
	
	public void notifyUserMessage(final Notify notify){
		jmsSender = JMSMessageSender.instance();
		Map<String,Notify> content = new HashMap<String,Notify>();
		content.put(jmsSender.JMS_MESSAGE_TYPE_OBJECT, notify);
		jmsSender.addMessage("testQueue", content);
	}
}
